<?php
require_once('Extension/Controller/Action.php');

class xmlrpc_IndexController extends Extension_Controller_Action 
{
    public function indexAction()
    {
        $this->view->layout()->disableLayout();
        $this->getHelper('viewRenderer')->setNoRender();

        $server = Kbs::initXmlRpcServer();
        $response = $server->handle();
        //$response->setEncoding($server->getEncoding());
        echo $response;
    }

}